package erp.education.server.db.entites.setup.school;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.TableGenerator;

@Entity
@Table(name = "stream_details")
public class Streams implements Serializable {

	@Id
	@TableGenerator(name = "stream_gen", table = "seq_keys", allocationSize = 1)
	@GeneratedValue(strategy = GenerationType.TABLE, generator = "stream_gen")
	@Column(name = "streamId")
	private Long streamId;
	@Column(name = "branchId")
	private Long branchId;

	@Column(name = "streamname")
	private String streamName;

	public Long getBranchId() {
		return branchId;
	}

	public void setBranchId(Long branchId) {
		this.branchId = branchId;
	}

	public String getStreamName() {
		return streamName;
	}

	public void setStreamName(String streamName) {
		this.streamName = streamName;
	}

	public Long getStreamId() {
		return streamId;
	}

}
